:root {
  /**
 * Colors
 * -------------------------------------------------------------------------- */
  --vp-c-brand: #9708cc;
  --vp-c-brand-light: #c31eff;
  --vp-c-brand-lighter: #d86efe;
  --vp-c-brand-lightest: #e8a9ff;
  --vp-c-brand-dark: #9708cc;
  --vp-c-brand-darker: #9708cc;
  --vp-c-brand-dimm: rgba(100, 108, 255, 0.08);
  --c-brand: #9708cc;
  --c-brand-light: #d769ff;

  /**
 * Component: Button
 * -------------------------------------------------------------------------- */

  --vp-button-brand-border: var(--vp-c-brand-light);
  --vp-button-brand-text: var(--vp-c-white);
  --vp-button-brand-bg: var(--vp-c-brand);
  --vp-button-brand-hover-border: var(--vp-c-brand-light);
  --vp-button-brand-hover-text: var(--vp-c-white);
  --vp-button-brand-hover-bg: var(--vp-c-brand-light);
  --vp-button-brand-active-border: var(--vp-c-brand-light);
  --vp-button-brand-active-text: var(--vp-c-white);
  --vp-button-brand-active-bg: var(--vp-button-brand-bg);

  /**
 * Component: Home
 * -------------------------------------------------------------------------- */

  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(-45deg, #43cbff 10%, #9708cc 100%);

  --vp-home-hero-image-background-image: linear-gradient(135deg, #43cbff 10%, #9708cc 100%);
  --vp-home-hero-image-filter: blur(72px);

  /**
 * Component: Custom Block
 * -------------------------------------------------------------------------- */
  --vp-custom-block-tip-border: var(--vp-c-brand);
  --vp-custom-block-tip-text: var(--vp-c-brand-darker);
  --vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}

@media (min-width: 960px) {
  :root {
    --vp-home-hero-image-filter: blur(72px);
  }
  .VPHome {
    padding: 128px 0;
  }
}

.dark {
  --vp-custom-block-tip-border: var(--vp-c-brand);
  --vp-custom-block-tip-text: var(--vp-c-brand-lightest);
  --vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}

/**
 * Component: Algolia
 * -------------------------------------------------------------------------- */

.DocSearch {
  --docsearch-primary-color: var(--vp-c-brand) !important;
}

/**
 * VitePress: Custom fix
 * -------------------------------------------------------------------------- */

/*
  Use lighter colors for links in dark mode for a11y.
  Also specify some classes twice to have higher specificity
  over scoped class data attribute.
*/
.dark .vp-doc a,
.dark .vp-doc a > code,
.dark .VPNavBarMenuLink.VPNavBarMenuLink:hover,
.dark .VPNavBarMenuLink.VPNavBarMenuLink.active,
.dark .link.link:hover,
.dark .link.link.active,
.dark .edit-link-button.edit-link-button,
.dark .pager-link .title {
  color: var(--vp-c-brand-lighter);
}

.dark .vp-doc a:hover,
.dark .vp-doc a > code:hover {
  color: var(--vp-c-brand-lightest);
  opacity: 1;
}
.vp-doc a {
  font-weight: normal;
}
.vp-doc p {
  margin: 0;
}
/* Transition by color instead of opacity */
.dark .vp-doc .custom-block a {
  transition: color 0.25s;
}
a:hover {
  text-decoration: none !important;
}
summary {
  font-weight: 600;
  &:hover {
    cursor: pointer;
    color: var(--vp-c-brand-lighter);
  }
}

.VPNavBarTitle .title {
  transition: all 0.25s;
  &:hover {
    color: var(--vp-c-brand);
  }
}
.version-tag {
  font-size: 17px;
  line-height: 1.571;
  font-weight: bold;
  padding: 4px 15px;
  margin-left: 6px;
  background: var(--vp-home-hero-image-background-image);
  color: #fff;
  border-radius: 10px;
  display: inline-block;
  vertical-align: top;
}
// .image-src {
//   animation: moveUpDown 5s ease-in-out infinite;
// }

@keyframes moveUpDown {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(0px, -50px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}
.vp-doc {
  p {
    margin: 1rem 0;
    line-height: 1.7;
  }
  &:first-child {
    h1 ~ div {
      margin: 10px 10px 10px 0;
    }
  }
}
.color-itembox {
  width: 100%;
  height: 100px;
  li {
    list-style: none;
    width: 240px;
    height: 100%;
    left: none;
    float: left;
    margin-right: 0.5vw;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    span {
      width: 100%;
      display: inline-block;
      line-height: 24px;
      font-size: 14px;
    }
    span:first-child {
      margin-top: 12px;
    }
  }
  span.outherColor {
    width: 90px;
    height: 100%;
    display: inline-block;
    margin-right: 0.5vw;
    border-radius: 4px;
    text-align: center;
    line-height: 100px;
    color: #fff;
    font-size: 14px;
  }
}
.n-box-flex {
  display: flex;
  padding: 50px 0;
}
